home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
csinst.zip
/
install.doc
< prev
next >
Wrap
Text File
|
1996-05-21
|
13KB
|
356 lines
myNstall - the small PM installer
======================================================================
(c) Copyright Janosch R. Kowalczyk, 1996.
This is myNstall the universal installation program from
Janosch R. Kowalczyk.
All rights reserved.
This program is Freeware. You can use this program for your own
private purposes, but you cannot change any of the contents with
following exeptions:
1. Contents of the file INSTALL.DAT.
2. You can use your own help file, but you MUST enclose
following chapters from the existing INSTALL.HLP:
- Author
- Author's thanks
- Copyright
- Disclaimer
- Introduction
Please send all bug reports and improvement suggestions to the author .
See chapter Author for details.
----------------------------------------------------------------------
1. Introduction
The Release 1.0 and 1.01 Beta from myNstaller ([mju:]nstaller) has awaked a
lot of interest. That is why I decided to write the new release with many
improvements.
This new release (1.02 beta) uses more control words and gives you the
interface to your own Rexx programs, so that you can design the installation
process with more flexibility as you are now able to. Of course you
can omit all these controls and work with the default values as delivered.
----------------------------------------------------------------------
2. System requirements
myNstall requires approximately 140 kB of disk space. To use Greed to
install products,they must be the following on the computer:
- OS/2 version 2.x or higher,
- Rexx support.
----------------------------------------------------------------------
3. How does the myNstaller work?
To use the myNstall copy following files into your products source
(installation) directory:
- INSTALL.EXE
- INSTALL.HLP
[- INSTALL.DAT]
INSTALL.DAT is the control file with the keywords to control your
installation process. You don't need this file, if you will not
use its features.
The myNstall unpacks almost all files (with exception of files with
attributes H (hidden) and S (system) from the home (source)
directory into the current destination directory.
See OS/2 UNPACK command for more info.
Note: If the current destination directory does not exist, it will be
created. You will be prompted for confirmation.
The description of the WPS objects is situated in the file
INSTALL.DAT. The description records must be enclosed in
parenthesis ( ). If you will be creating a folder for other objects,
it must be placed at the beginning of the listing. For the syntax
see the parameter list of the REXX-function SysCreateObject.
Note: You can only use one (1) line for one (1) description record.
i.e.:
/*------(start WPS objects)-----*/
("WPFolder", title, location, associations, "r")
("WPProgram", title, location, associations, "r")
other descriptions record
other descriptions record
/*------(end WPS objects)-----*/
See chapter 5.5 in this file for more information.
----------------------------------------------------------------------
4. Control word summary.
The following are keywords to control the installation process:
1. DESTINATION=destination_path
2. WPS_ONLY_IF_EXIST=file_name
3. WELCOME=welcome_message
4. WELCOME_TITLE=message_title
5. WELCOME_BUTTON={OK | OKCANCEL}
6. START_REXX_BY_OPEN_WINDOW=rexxcall
7. START_REXX_BY_START_INSTALL=rexxcall
8. START_REXX_BY_SUCCESSFUL=rexxcall
9. START_REXX_BY_FAILURE=rexxcall
10. START_REXX_BY_CLOSE_WINDOW=rexxcall
11. DEST_PATH (used by SysCreateObject and your own Rexx)
12. HOMEDIR (to be used by your own Rexx)
13. DELETE_FILE
14. REMOVE_DIR
15. DELETE_FILE_AFTER_INSTALLATION
16. REMOVE_DIR_AFTER_INSTALLATION
----------------------------------------------------------------------
5. Control words (keywords).
You can write the keywords into the file INSTALL.DAT in any order!
The follwing describes keywords which you can use in the control file
INSTALL.DAT (remember you can omit all these controls!):
1. DESTINATION=destination_path
The keyword DESTINATION=destination_directory_path identifies the
record from file INSTALL.DAT which sets the name of the standard
destination directory.
If you omit this name, the root directory of the drive C: will be
used.
You should omit the leading and ending backslashes and the drive
character.
Default value: root directory of the drive C: (drive C: is always
the default drive. Everybody has the drive C: - isn't?).
Example:
DESTINATION=TOOLS\INSTALL
2. WPS_ONLY_IF_EXIST=file_name
The Installer is able to recreate the damaged WPS-Objects for your
installation. It does this, if the Check Box "Create WPS objects
only" is selected. But it is not necessary to enable this box
if the user is doing his first installation. You can disable this
Check Box for the installation window, if you use this keyword.
This box will be enabled, if the file 'file_name' is present in the
destination directory AND the source directory is equal to the
destination directory.
Default value: no - the check box will be enabled
Example:
WPS_ONLY_IF_EXIST=GREED.EXE
3. WELCOME keywords
These keywords help you to personify the start of the install procedure.
There are 3 WELCOME-keywords :
1. WELCOME=welcome_message
This keyword allows you to show the text of welcome_message before
your installation starts. You can use multiple WELCOME= keywords
for one message. Each WELCOME= message gives you a new line in the
message box. Additionally you can use '\n' (like C) in the message
line for Line Feed.
Note: You must have used at least one WELCOME= message
before you can use the WELCOME_TITLE and WELCOME_BUTTON
keywords.
Default value: No - no message box.
Example:
WELCOME=Welcome to the Installation of "GREED"\nVersion 2.0 Beta.\n\n
WELCOME=Click OK to continue or CANCEL to exit\n\n
2. WELCOME_TITLE=message_title
You can use this keyword to change the title in the message box
Default value: Welcome
Example:
WELCOME_TITLE=Hallo folks!
3. WELCOME_BUTTON={OK | OKCANCEL}
The message box, in which you show your info, can have either an OK button
or both OK and CANCEL buttons. You can decide which form you will use.
Default value: OKCANCEL
Example:
WELCOME_BUTTON=OK
Note: Set message text without apostrophes.
4. Keywords for call of Rexx procedures
myNstall Ver. 1.01 Beta supplies the possibility to call your own Rexx
procedures at 5 different points of installation processing:
1. START_REXX_BY_OPEN_WINDOW=rexxcall - before the start of the
installation (pre-processing exit).
Default value: No - no rexx will be called.
Example:
START_REXX_BY_OPEN_WINDOW=my1rexx 'Janosch'
2. START_REXX_BY_START_INSTALL=rexxcall - after pressing the
Push Button "Install" (pre-install exit).
Default value: No - no rexx will be called.
Example:
START_REXX_BY_START_INSTALL=my2rexx
3. START_REXX_BY_SUCCESSFUL=rexxcall - after successfull
installation (post-install successful exit).
Default value: No - no rexx will be called.
Example:
START_REXX_BY_SUCCESSFUL=my3rexx 'A:'
4. START_REXX_BY_FAILURE=rexxcall - after the unsuccessfull
installation (post-install failure exit).
Default value: No - no rexx will be called.
Example:
START_REXX_BY_FAILURE=my4rexx
5. STAR